Package-level declarations

Types

Link copied to clipboard
data class AuthorizationConfiguration(val clientId: String, val fusionAuthUrl: String, val tenant: String? = null, val allowUnsecureConnection: Boolean = false, val additionalScopes: Set<String> = emptySet(), val locale: String? = null)

AuthorizationConfiguration is a data class that represents the configuration for authorization.

Link copied to clipboard

AuthorizationManager is a singleton object that manages the authorization state of the user. It provides methods to initialize the authorization manager, check if the user is authenticated, retrieve access tokens, refresh access tokens, and clear the authorization state.

Link copied to clipboard
data class FusionAuthState(var accessToken: String? = null, var accessTokenExpirationTime: Long? = null, val idToken: String?, val refreshToken: String?)

Represents the state of FusionAuth authorization.

Link copied to clipboard
data class IdToken(val at_hash: String? = null, val aud: String? = null, val authenticationType: String? = null, val auth_time: Long? = null, val c_hash: String? = null, val email: String? = null, val email_verified: Boolean? = null, val exp: Long? = null, val iat: Long? = null, val iss: String? = null, val jti: String? = null, val nonce: String? = null, val preferred_username: String? = null, val scope: String? = null, val sid: String? = null, val sub: String? = null, val tid: String? = null)

Represents an ID token.

Link copied to clipboard
object SingletonUnsecureConnectionBuilder : <ERROR CLASS> ERROR CLASS: Symbol not found for ConnectionBuilder
Link copied to clipboard

The TokenManager class handles the storage and retrieval of authorization state tokens.

Link copied to clipboard
class UnsecureConnectionBuilder : <ERROR CLASS> ERROR CLASS: Symbol not found for ConnectionBuilder

Connection Builder that allows for unsecure connections.

Link copied to clipboard
data class UserInfo(val applicationId: String? = null, val birthdate: String? = null, val email: String? = null, val email_verified: Boolean? = null, val family_name: String? = null, val given_name: String? = null, val name: String? = null, val middle_name: String? = null, val phone_number: String? = null, val picture: String? = null, val preferred_username: String? = null, val roles: List<String>? = null, val sub: String)

Represents the user information retrieved from the authorization service. More information about the user info can be found in the FusionAuth documentation